{template 'common/header'}
<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-image:url('{if empty($_W['styles']['indexbgimg'])}./themes/style47/images/bg_index.jpg{else}{$_W['styles']['indexbgimg']}{/if}');background-size:cover;
	background-size:cover;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#f5f5f5{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	.box{width:100%; overflow:hidden; margin:2% 0 2% 2.5%; text-align:center;}
	.box .box-item{display:block; height:8.0em; text-align:center; text-decoration:none; float:left; width:30.5%; color:#333; margin:0 1.52% 1.52% 0; overflow:hidden; background-color:#ffffff; border:#e0e0e0 solid 1px; border-radius:0.3em; box-shadow:1px 1px 1px rgba(0,0,0,0.06);}
	.box .box-item i{display:inline-block;width:100%; height:80px; line-height:80px; font-size:40px; color:#a58647; background:#fff6db; overflow:hidden;}
	.box .box-item span{display:block; text-align:center; color:{$_W['styles']['fontnavcolor']}; font-size:14px; width:90%; margin-left:5%; height:1.3em; overflow:hidden;}
	.box1>a{float:left;}
	.box1>a:nth-child(1){ display:block; width:30%; height:90px; line-height:90px; margin:0 2% 2% 2.5%;background-color:#38b3f4; border-bottom:#2b88b9 solid 1px; text-align:center; color:#ffffff; float:left;}
	.box1>a i{display:block; width:100%; height:60px; line-height:60px; font-size:35px; text-align:center;}
	.box1>a:nth-child(2){display:block; width:63%; height:90px;  background-color:#6792c1; border-bottom:#57779c solid 1px; padding:0 10px; line-height:90px; color:#ffffff;}
	.box1>a span{color:{$_W['styles']['fontnavcolor']};display:block; width:90%; height:20px; margin:0 5%; text-align:center; line-height:20px; overflow:hidden;}
	.list li{padding: 5px 5px 0 5px; list-style:none;}
	.list li a{display:block; height:71px; padding:5px;background:#FFF; border:1px #DDD solid; border-radius:3px;color:#333; overflow:hidden; text-decoration:none !important; position:relative;}
	.list li a .thumb{width:80px; height:60px;}
	.list li a .title{font-size:14px; padding-left:90px;}
	.list li a .createtime{font-size:12px; color:#999; position:absolute; bottom:5px;padding-left:90px;}
</style>
<div class="box clearfix">
	{data func="site_navs" section="1" item="row"}
	{$row['html']}
	{/data}
</div>
<div class="box1 clearfix">
	{data func="site_navs" section="3" item="row"}
	{$row['html']}
	{php if($row['iteration'] > 1) break;}
	{/data}
</div>
<div class="box clearfix">
	{data func="site_navs" section="2" item="row"}
	{$row['html']}
	{/data}
</div>
<!--内容栏-->
<div class="list clearfix">
	{data module="site" func="site_article" cid="$cid" assign="result" return="true"}
	{loop $result['list'] $row}
	<li>
		<a href="{$row['linkurl']}">
			{if $row['thumb']}<img src="{$row['thumb']}" class="pull-left thumb" onerror="this.parentNode.removeChild(this)" />{/if}
			<div class="title">{$row['title']}</div>
			<div class="createtime">{php echo date('Y-m-d H:i:s', $row['createtime'])}</div>
		</a>
	</li>
	{/loop}
</div>

{template 'common/footer'}